package com.goods.business.mapper;


import com.goods.common.model.business.InStock;
import com.goods.common.vo.business.InStockItemVO;
import com.goods.common.vo.business.InStockVO;
import com.goods.common.vo.business.SupplierVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.BaseMapper;

import java.util.List;
import java.util.Map;

@Repository
public interface InStockMapper extends BaseMapper<InStock> {
    List<InStockVO> findInStockList(@Param("map") Map map);

    List<InStockItemVO> selectStockItem(Long id);

    SupplierVO selectSupplier(Long id);
}
